Duplicator\Libs\Snap\SnapWP D

Total Complexity 147
Dependencies 9
Dependents 17
Total lines 1,045
Lines of code 572
Logical lines of code 302
Comment lines 327
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
getPluginsInfo()
A
41 15 56
isWpCore()
A
45 12 43
getThemesInfo()
A
48 11 33
getHomePath()
A
44 10 43
getSites()
A
53 9 22
getWpCoreFilesListInFolder()
S
51 7 29
isPluginActiveByInfo()
S
62 6 12
getTableInfoByName()
S
53 5 21
getWPConfigPath()
S
58 5 15
getMainSiteId()
S
60 5 13
getThemeArrayData()
S
54 4 20
getPostTypesCount()
S
57 4 17
getNextSubsiteIdAI()
S
56 4 17
getUniqueWPTablePrefixes()
S
61 4 12
getAdminUserLists()
S
59 3 14
getTablesWithPrefix()
S
62 3 11
getSafeAbsPath()
S
63 3 11
isPluginInstalled()
S
63 3 10
wpRoles()
S
65 3 10
isWpHomeFolder()
S
63 3 10
deleteUserMetaKey()
S
62 2 13
getDateInWPTimezone()
S
62 2 11
getDropinsPluginsNames()
S
60 1 16
getPluginArrayData()
S
58 1 16
getSitesIds()
S
70 2 6
scheduleEvent()
S
72 2 5
getGMTOffset()
S
77 2 3
getTimeZoneString()
S
69 2 7
getDST()
S
63 2 10
getCorePathsList()
S
70 2 6
getAdminUrl()
S
69 2 7
unscheduleEvent()
S
71 2 6
getSiteCoreTables()
S
62 1 14
getMultisiteTables()
S
65 1 11
getWPContentCoreDirs()
S
73 1 6
dbDelta()
S
66 1 8
setWpCoreRelativeAbsPath()
S
79 1 3
getUsersCount()
S
72 1 5